package com.zenithmind.user.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 验证码请求数据传输对象
 */
@Data
@Schema(description = "验证码请求DTO")
public class VerificationRequestDTO {

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "邮箱地址")
    private String email;

    @Schema(description = "验证码")
    private String code;

    @Schema(description = "验证码类型(0:登录,1:注册,2:重置密码)")
    private Integer type;

    @Schema(description = "查询数量限制", defaultValue = "10")
    private Integer limit = 10;

    @Schema(description = "IP地址")
    private String ipAddress;

    @Schema(description = "过期时间(秒)")
    private Integer expireSeconds = 300;

    @Schema(description = "验证码长度")
    private Integer codeLength = 6;

    @Schema(description = "设备信息")
    private String deviceInfo;
} 